﻿<%@ Page Language="C#" MasterPageFile="~/Manageweb/MemberMaster.master" AutoEventWireup="true"
    CodeFile="UpdateUserPassword.aspx.cs" Inherits="Manageweb_Users_UpdateUserPassword"
    Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">


 <script src="../../js/JsMasked.js" type="text/javascript"></script>
 <script type="text/javascript">
     var ServerKey = '<%=StrKey %>';
     var hidMiYao = '<%=hidMiYao.ClientID %>';
 </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <style type="text/css">
        *
        {
            margin: 0;
        }
        body
        {
            font-size: 9pt;
        }
        #container div
        {
            margin-top: 6px;
        }
        #select_city h3
        {
            float: left;
        }
        #main_city, #all_province
        {
            clear: both;
        }
        #main_city div, #all_province div
        {
            width: 588px;
            clear: left;
        }
        #main_city h4, #all_province h4
        {
            float: left;
            display: inline;
            font-size: 16px;
        }
        #main_city div span, #all_province div span
        {
            margin: 0 9px;
            cursor: pointer;
            font-size: 14px;
        }
        #float_lay
        {
            width: 220px;
            height: 122px;
            border: 1px #787878 solid;
            position: absolute;
            background: #fff;
            z-index: 999;
            display: none;
        }
    </style>     

    <table id="TABLE_ModPass" runat="server" border="1" cellpadding="0" cellspacing="0" visible="false"
        width="750">
        <tr>
            <td colspan="2" style="font-weight: bold; color: white; background-color: #507cd1;
                text-align: left">
                &nbsp;修改密码
            </td>
        </tr>
        <tr>
            <td style="width: 150px">
                &nbsp;原密码
            </td>
            <td style="text-align: left">
                &nbsp;<asp:TextBox ID="TB_OldPass" runat="server" TextMode="Password" Width="240px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RFV_TB_OldPass" runat="server" ControlToValidate="TB_OldPass"
                    Display="Dynamic" ErrorMessage="*" ValidationGroup="Btn_ModPass"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr style="color: #000000">
            <td>
                &nbsp;新密码
            </td>
            <td style="text-align: left">
                &nbsp;<asp:TextBox ID="TB_NewPass" runat="server" TextMode="Password" Width="240px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RFV_TB_NewPass" runat="server" ControlToValidate="TB_NewPass"
                    Display="Dynamic" ErrorMessage="*" ValidationGroup="Btn_ModPass"></asp:RequiredFieldValidator><asp:CompareValidator
                        ID="CV_NewPass" runat="server" ControlToCompare="TB_NewPass" ControlToValidate="TB_NewPassRe"
                        Display="Dynamic" ErrorMessage="两次密码输入不一致" ValidationGroup="Btn_ModPass"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;确认新密码
            </td>
            <td style="text-align: left">
                &nbsp;<asp:TextBox ID="TB_NewPassRe" runat="server" TextMode="Password" Width="240px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RFV_TB_NewPassRe" runat="server" ControlToValidate="TB_NewPassRe"
                    Display="Dynamic" ErrorMessage="*" ValidationGroup="Btn_ModPass"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td colspan="2" style="font-weight: bold; color: white; background-color: #507cd1;
                text-align: center">
                <asp:Button ID="Btn_ModPass" runat="server" OnClick="Btn_ModPass_Click" Text="更新"
                    ValidationGroup="Btn_ModPass" />&nbsp;
                <asp:Button ID="Btn_Cancel2" runat="server" Text="取消" />
            </td>
        </tr>
    </table>
    <asp:HiddenField ID="hidMiYao" runat="server" />
</asp:Content>
